package com.basic.hellorabbit.mapper;

import com.basic.hellorabbit.entity.MyPosition;
import com.basic.hellorabbit.entity.MyPositionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MyPositionMapper {
    long countByExample(MyPositionExample example);

    int deleteByExample(MyPositionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MyPosition record);

    int insertSelective(MyPosition record);

    List<MyPosition> selectByExample(MyPositionExample example);

    MyPosition selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MyPosition record, @Param("example") MyPositionExample example);

    int updateByExample(@Param("record") MyPosition record, @Param("example") MyPositionExample example);

    int updateByPrimaryKeySelective(MyPosition record);

    int updateByPrimaryKey(MyPosition record);
}